<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html >
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Bookends</title>
    <meta name="description" content="Description Here" />
    <meta name="keywords" content="keywords here" />
    <link href="../../../../Public/Admin/css/styles.css" rel="stylesheet" type="text/css"/>
</head>
<body id="Title">
<div id="header">
    <h1>Bookends</h1>
</div>
<div id="content">
    <div id="nav">
        <ul id="menu">
            <li><a href="/">Home</a></li>
            <div style="overflow: scroll;height: 120px;margin-top: 10px">
            <?php if(is_array($fllist)): $i = 0; $__LIST__ = $fllist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a style="margin-left: 5px" href="<?php echo U('Catalog/index',array('id'=>$vo['id']));?>"><?php echo ($vo["flname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </ul>
    </div>


    <div id="journal">
        <div style="overflow: scroll;height: 720px;">
            <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><h2><?php echo ($vo["arname"]); ?></h2>
                <p><?php echo ($vo["arcontent"]); ?></p><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>

    </div>


    <div id="sidebar">
        <dl>
            <h4>目录列表</h4>
            <div style="overflow: scroll;height: 300px; margin-top: 20px">
            <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Catalog/view',array('id'=>$vo['id']));?>"><?php echo ($vo["arname"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </dl>
    </div>
    <div id="footer">
        <p>Copyright &copy; 2018 <strong>Your Name</strong></p>
    </div>
</div>
</body></html>